/**
 * @Description: 定义全局公共变量, 枚举, 返回状态等信息
 * @Author: 唐大民
 * @Date: 2024/6/1 
*/
#ifndef SW_COMM_SUPORT_H
#define SW_COMM_SUPORT_H

#include "stm32f10x.h"
typedef enum {
    SW_OK = 0,
    SW_FAIL = 1,
} SwReturnResultEnum;
typedef SwReturnResultEnum RetResult;

typedef struct {
    unsigned char mpu6050Id;
    unsigned short accX;
    unsigned short accY;
    unsigned short accZ;
    unsigned short groyX;
    unsigned short groyY;
    unsigned short groyZ;
} mpu6050InfoStru;

void SwGetMpu6050Info(mpu6050InfoStru *mpu6050Info);

#endif
